package com.kx.smsplatform.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 定义统一的返回结果的类
 * @Author Sun
 * @Date 2021/7/1 19:33
 */
@Data
public class ResultVO {

    private Integer code;

    private String message;

    /**
     * 有值时，正常响应，没有值为null时，自动忽略
     */
    @JsonInclude(value = JsonInclude.Include.NON_EMPTY)
    private Object data;
}
